import request from "@/utils/request";
import mockRequest from '@/utils/mockRequest'
//获取三级分类列表 返回的是一个axios请求，没错就该这么去写
export const getReqCategoryList=function(){
    return request.get('product/getBaseCategoryList')
}
// export const getReqMock=function(){
//     return mockRequest.get('/abc')
// }
//获取轮播图请求
export const getMockBanner=function(){
    return mockRequest.get('/bannerList')
}
//获取楼层请求
export const getMockFloor=function(){
    return mockRequest.get('/floorList')
}
//搜索商品
export const postSearchGoods=function(searchParams={}){
    return request({
        url:'/list',
        method:'post',
        data:searchParams
    })
}